{% extends 'base.html' %}
{% load crispy_forms_tags %}
{% block title %}
注册
{% endblock %}
{% block content %}
    {% if message %}
    <div class="alert alert-danger" role="alert">
        {{ message }}
    </div>
    {% endif %}
    <form action="." method="post">
        {% csrf_token %}
        {{ form|crispy }}
        <button type="submit" class="btn btn-primary mt-2 btn-lg">注册</button>
    </form>
{% endblock %}